// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 查询互选状态字典 GET /api/dict/getChooseStatus */
export async function getChooseStatusUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getChooseStatus', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询项目(大创)类型字典 GET /api/dict/getInnovationType */
export async function getInnovationTypeUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getInnovationType', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询比赛级别字典 GET /api/dict/getRaceLevel */
export async function getRaceLevelUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getRaceLevel', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询比赛状态字典 GET /api/dict/getRaceStatus */
export async function getRaceStatusUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getRaceStatus', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询比赛类型字典 GET /api/dict/getRaceType */
export async function getRaceTypeUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getRaceType', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询审核状态字典 GET /api/dict/getReviewStatus */
export async function getReviewStatusUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getReviewStatus', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询计分规则字典 GET /api/dict/getScoreRule */
export async function getScoreRuleUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getScoreRule', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询第二课堂竞赛标签 GET /api/dict/getSecondLabel */
export async function getSecondLabelUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getSecondLabel', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询性别字典 GET /api/dict/getSex */
export async function getSexUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getSex', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询班级字典 GET /api/dict/getStuClass */
export async function getStuClassUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getStuClass', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询年级字典 GET /api/dict/getStuGrade */
export async function getStuGradeUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getStuGrade', {
    method: 'GET',
    ...(options || {}),
  })
}

/** 查询职称信息字典 GET /api/dict/getTitle */
export async function getTitleUsingGet(options?: { [key: string]: any }) {
  return request<API.MyPageVoListzidixinxiVO>('/api/dict/getTitle', {
    method: 'GET',
    ...(options || {}),
  })
}

/** dictType GET /api/dict/type/${param0} */
export async function dictTypeUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.dictTypeUsingGETParams,
  options?: { [key: string]: any }
) {
  const { dictType: param0, ...queryParams } = params
  return request<Record<string, any>>(`/api/dict/type/${param0}`, {
    method: 'GET',
    params: { ...queryParams },
    ...(options || {}),
  })
}
